<?php /* Smarty version Smarty-3.1.18, created on 2015-09-28 16:23:21
         compiled from "E:\www\gfour\ws\Admin\View\Chat\group_content.html" */ ?>
<?php /*%%SmartyHeaderCode:13658560030608a15d7-28760926%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '579a9d821861bd3d80f5813a8ddddfe2a82dc627' => 
    array (
      0 => 'E:\\www\\gfour\\ws\\Admin\\View\\Chat\\group_content.html',
      1 => 1443428556,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '13658560030608a15d7-28760926',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_560030609550f1_49314986',
  'variables' => 
  array (
    '_C' => 0,
    'ad' => 0,
    'id' => 0,
    'action' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_560030609550f1_49314986')) {function content_560030609550f1_49314986($_smarty_tpl) {?><!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/amazeui.min.css"/>
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/hy.admin.css"/>
	</head>
	<body>
	<div class="am-g">
		 <?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

		<div class="am-tabs am-margin" data-am-tabs="{ noSwipe: 1}">
    <ul class="am-tabs-nav am-nav am-nav-tabs">
      <li class="am-active"><a hidefocus="true" href="#tab1">弹框组详情</a></li>
      
</ul>

    <form class="am-tabs-bd am-form hy-js-form" style="touch-action: pan-y; -webkit-user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
      
      <div class="am-tab-panel am-fade am-active am-in" id="tab1">
      	<div class="am-form-group">
          <div class="am-g am-margin-top">
            <div class="am-u-sm-2 am-text-right">
              弹框组名称
            </div>
            <div class="am-u-sm-4 am-u-end">
              <input type="text" name="name" value="<?php echo $_smarty_tpl->tpl_vars['ad']->value['name'];?>
" class="am-input-sm">
            </div>
          </div>
			</div>
    	
	
    	
		<div class="am-form-group">
		  <div  class="am-g am-margin-top hy-js-menupanel ">
							<div class="am-u-sm-2 am-text-right">弹框组类型</div>
							
							
							<div class="am-u-sm-4 am-u-end">
								
								<?php if ($_smarty_tpl->tpl_vars['id']->value>0) {?>
								<input type="hidden" name="type" value="<?php echo $_smarty_tpl->tpl_vars['ad']->value['type'];?>
">
								<select name="type" disabled="disabled">
								<?php } else { ?>
								<select name="type">
									
								<?php }?>
								
								
									<option <?php if ($_smarty_tpl->tpl_vars['ad']->value['type']==1) {?> selected="selected" <?php }?> value="1">个人信息流程</option>
									<option <?php if ($_smarty_tpl->tpl_vars['ad']->value['type']==2) {?> selected="selected" <?php }?> value="2">中奖无信息框流程</option>
									<option <?php if ($_smarty_tpl->tpl_vars['ad']->value['type']==3) {?> selected="selected" <?php }?> value="3">复合流程</option>
								</select>
							</div>
						</div>
			</div>
				

    
    	
		<div class="am-form-group">
		   <div class="am-g am-margin-top">
            <div class="am-u-sm-2 am-text-right">
              预计参与人数
            </div>
            <div class="am-u-sm-4 am-u-end">
              <input type="text" name="totalnums" value="<?php echo $_smarty_tpl->tpl_vars['ad']->value['totalnums'];?>
" class="am-input-sm"  placeholder="请输入正整数">
            </div>
			<div class="am-u-sm-4 am-u-end" style="color:silver">
              预计人数与中奖概率直接相关。假设：预计参与人数为100，一等奖中奖概率为5%，则每20人中将会出现1位一等奖，若二等奖中奖概率为20%，则每5人中将会出现1位二等奖，以此类推，直至等于限制中奖人数。
            </div>
          </div>
		  </div>
    	
	
  
     
 		<input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
" />
		 </div>
    </form>
    <div class="am-margin">
    <button type="button" class="am-btn am-btn-primary hy-js-submit am-btn-xs">提交保存</button>
    
  </div>
  </div>
	</div>	
	 
	  <?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

	<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
js/editor/kindeditor.js"></script>
	<script type="text/javascript">
	    hy_uploadimg('/ad',{},function(result){
	    	if(typeof(result[0])!='undefined')
	    	{
	        	$('#hy-thumb').attr('src',result[0]);
	        	$('input[name=pic]').val(result[0]).focus();
	       }
	    })
	    
	    hy_submit('index.php?g=admin&m=chat&a=<?php echo $_smarty_tpl->tpl_vars['action']->value;?>
','',function(result){
			showMsg(result.content,result.error);
			parent.$('#box-group').attr('src', parent.$('#box-group').attr('src'));
		});
	</script>
	</body>
</html>
<?php }} ?>
